Skip to content

fix: upgrade treeland output protocol from v1 to v2 with UUID support [cherry-pick] - #1918

Merged
18202781743 merged 1 commit into
linuxdeepin:develop/2500u3from
18202781743:pick-to/b96a5fbff740148279a59c95174fc179a318eb24
Dec 2, 2026
Merged

18202781743 merged 1 commit into
linuxdeepin:develop/2500u3from
18202781743:pick-to/b96a5fbff740148279a59c95174fc179a318eb24

Conversation

@18202781743

@18202781743 18202781743 commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Cherry-pick commit f6363aa to develop/2500u3.

Source pull request #1729

  1. 更新 CMakeLists 的 find_package 要求 TreelandProtocols 0.9
  2. 迁移 treelandoutputwatcher 至 treeland_output_manager_v2
  3. 迁移 treelandbrightness 从 color_control_v1 到 picture_control_v2
  4. primary_output 事件回调从 wl_output* 改为 const QString &uuid
  5. get_picture_control 请求从 wl_output* 改为 const QString &uuid
  6. 新增 TreelandOutputUuidManager 和 TreelandOutputUuid 建立 wl_output→uuid 映射
  7. 主屏匹配方式从指针比较改为 UUID 映射表查找
  8. 补充 result 事件处理,含 commit_result 枚举(invalid_output=3)
  9. 补充 primary_output_failed 事件处理
  10. 缓存 pending primary uuid 处理时序问题
  11. 处理屏幕移除并修复 TreelandOutputUuid 生命周期
  12. 修复重复的 SPDX-FileCopyrightText 行
  13. 更新 debian/control 构建依赖为 treeland-protocols (>= 0.9.0)
  14. 提取 TreelandOutputUuidManager/TreelandOutputUuid 到共享头文件 shell/treelandoutputuuid.h,消除 shell 与 osd/brightness 模块间的重复定义

Log: 迁移 treeland output 协议消费者从 v1 到 v2 并适配 UUID 标识,提取共享 UUID 类消除重复代码
Influence: 多屏环境下主屏切换、OSD 亮度显示、屏幕热插拔
Ref: DDE-541

Summary by Sourcery

Migrate Treeland output consumers to UUID-aware v2 protocols to support primary-display selection and brightness reporting across multi-monitor changes.

Bug Fixes:

  • Restore UUID-based primary-screen matching and account for screens being added or removed, including pending primary-output updates and failed primary-output notifications.
  • Use the v2 picture-control protocol to retrieve brightness for the primary display by UUID, handling invalid-output results.

Enhancements:

  • Migrate shell output monitoring from the v1 to v2 Treeland output-manager protocol and share UUID support between the shell and brightness OSD.

Build:

  • Require TreelandProtocols 0.9 and update generated protocol inputs to the v2 output-manager and UUID protocols.
  • Update the Debian build dependency to treeland-protocols (>= 0.9.0).

… [cherry-pick]

1. 更新 CMakeLists 的 find_package 要求 TreelandProtocols 0.9
2. 迁移 treelandoutputwatcher 至 treeland_output_manager_v2
3. 迁移 treelandbrightness 从 color_control_v1 到 picture_control_v2
4. primary_output 事件回调从 wl_output* 改为 const QString &uuid
5. get_picture_control 请求从 wl_output* 改为 const QString &uuid
6. 新增 TreelandOutputUuidManager 和 TreelandOutputUuid 建立 wl_output→uuid 映射
7. 主屏匹配方式从指针比较改为 UUID 映射表查找
8. 补充 result 事件处理,含 commit_result 枚举(invalid_output=3)
9. 补充 primary_output_failed 事件处理
10. 缓存 pending primary uuid 处理时序问题
11. 处理屏幕移除并修复 TreelandOutputUuid 生命周期
12. 修复重复的 SPDX-FileCopyrightText 行
13. 更新 debian/control 构建依赖为 treeland-protocols (>= 0.9.0)
14. 提取 TreelandOutputUuidManager/TreelandOutputUuid 到共享头文件 shell/treelandoutputuuid.h,消除 shell 与 osd/brightness 模块间的重复定义

Log: 迁移 treeland output 协议消费者从 v1 到 v2 并适配 UUID 标识,提取共享 UUID 类消除重复代码
Influence: 多屏环境下主屏切换、OSD 亮度显示、屏幕热插拔
Ref: DDE-541
(cherry picked from commit f6363aa)
@sourcery-ai

sourcery-ai Bot commented Dec 2, 2026

Copy link
Copy Markdown

Reviewer's Guide

API

Add shared UUID manager and UUID request classes so both the shell and brightness OSD can map a Wayland output to its protocol UUID.

  • shell/treelandoutputuuid.cpp L1-36
  • shell/treelandoutputuuid.h L1-41

Uses of the API

Migrate the output watcher to the v2 manager, resolve primary outputs through UUID mappings, and handle pending UUIDs, failed events, and screen removal.

  • shell/treelandoutputwatcher.cpp L6-18, L23-27, L34-136
  • shell/treelandoutputwatcher.h L7-16, L24-37

Migrate brightness OSD output lookup to UUID-based v2 picture controls and handle brightness and invalid-output results.

  • panels/notification/osd/brightness/treelandbrightness.cpp L40-53, L70-81, L87-146 (+6 small edits)
  • panels/notification/osd/brightness/treelandbrightness.h L15-22, L34-38, L65-72 (+3 small edits)

Configuration

Require TreelandProtocols 0.9 and generate/link the v2 output-manager and UUID client protocol sources for the shell and brightness OSD.

  • panels/notification/osd/brightness/CMakeLists.txt L5, L14-15, L20-25
  • shell/CMakeLists.txt L7, L26-27, L35-36

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 18202781743, BLumia

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 4 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="panels/notification/osd/brightness/treelandbrightness.cpp" line_range="129-130" />
<code_context>
     m_control = nullptr;
-    m_output = nullptr;
+    m_primaryScreen = nullptr;
+    delete m_uuidRequest;
+    m_uuidRequest = nullptr;
     if (isInitialized()) {
         destroy();
</code_context>
<issue_to_address>
**Event handling crashes the OSD**

When a UUID or picture-control proxy delivers its event, the callbacks synchronously delete the proxy whose event is being dispatched, which can invalidate the active Wayland callback and crash the OSD.

Defer proxy deletion until event dispatch has returned.

Also at `panels/notification/osd/brightness/treelandbrightness.cpp:141-143`.
</issue_to_address>

### Comment 2
<location path="shell/treelandoutputwatcher.cpp" line_range="18" />
<code_context>
+
 TreelandOutputWatcher::TreelandOutputWatcher(QObject *parent)
-    : QWaylandClientExtensionTemplate<TreelandOutputWatcher>(treeland_output_manager_v1_interface.version)
+    : QWaylandClientExtensionTemplate<TreelandOutputWatcher>(treeland_output_manager_v2_interface.version)
 {
     setParent(parent);
</code_context>
<issue_to_address>
**Older compositor loses output support**

When the updated shell or brightness module runs against a compositor that has not yet exposed v2, `TreelandOutputWatcher` and `TreelandBrightness` bind only the v2 manager, so a compositor that exposes only v1 leaves both extensions inactive. There is no v1 fallback, and primary-screen updates and OSD brightness stop working during a mixed-version rollout.

Coordinate deployment so the compositor exposes v2 before these consumers roll out, or retain a fallback for the old protocol during the transition.

Also at `panels/notification/osd/brightness/treelandbrightness.cpp:46`.
</issue_to_address>

### Comment 3
<location path="panels/notification/osd/brightness/treelandbrightness.cpp" line_range="141-143" />
<code_context>

 TreelandBrightness::~TreelandBrightness()
 {
     delete m_control;
     m_control = nullptr;
-    m_output = nullptr;
</code_context>
<issue_to_address>
**Brightness stays stale after invalid output**

When the compositor reports `commit_result_invalid_output` while the primary screen remains unchanged, the handler deletes `m_control` and clears `m_currentUuid` without emitting `brightnessChanged` or requesting a replacement control, so the provider loses brightness and the applet keeps displaying its cached value until another refresh trigger.

Emit the brightness update and retry acquiring the UUID and picture control after invalid output.
</issue_to_address>

### Comment 4
<location path="shell/treelandoutputwatcher.cpp" line_range="63-65" />
<code_context>
+    if (!waylandScreen || !waylandScreen->output())
+        return;
+
+    auto *raw = m_uuidManager->get_uuid(waylandScreen->output());
+    if (!raw)
+        return;
+
+    auto *uuidObj = new TreelandOutputUuid(raw, this);
</code_context>
<issue_to_address>
**Failed requests remain unresolved**

When a UUID or picture-control request fails, or the compositor does not deliver a UUID response, `requestUuid`, `requestPrimaryUuid`, and the brightness path abandon the request without scheduling another attempt, leaving the pending primary unresolved or the OSD showing stale brightness until an unrelated screen or activation event triggers another attempt.

Schedule a retry or timeout when a UUID or picture-control request fails or does not complete.

Also at `panels/notification/osd/brightness/treelandbrightness.cpp:114-116`, `panels/notification/osd/brightness/treelandbrightness.cpp:132-134`.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment on lines +129 to +130
delete m_uuidRequest;
m_uuidRequest = nullptr;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 High · Event handling crashes the OSD

When a UUID or picture-control proxy delivers its event, the callbacks synchronously delete the proxy whose event is being dispatched, which can invalidate the active Wayland callback and crash the OSD.

Defer proxy deletion until event dispatch has returned.

Also at panels/notification/osd/brightness/treelandbrightness.cpp:141-143.

Prompt for AI agents
In `panels/notification/osd/brightness/treelandbrightness.cpp` at lines 129-130:

**Event handling crashes the OSD**

When a UUID or picture-control proxy delivers its event, the callbacks synchronously delete the proxy whose event is being dispatched, which can invalidate the active Wayland callback and crash the OSD.

Defer proxy deletion until event dispatch has returned.

Also at `panels/notification/osd/brightness/treelandbrightness.cpp:141-143`.


TreelandOutputWatcher::TreelandOutputWatcher(QObject *parent)
: QWaylandClientExtensionTemplate<TreelandOutputWatcher>(treeland_output_manager_v1_interface.version)
: QWaylandClientExtensionTemplate<TreelandOutputWatcher>(treeland_output_manager_v2_interface.version)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Older compositor loses output support

When the updated shell or brightness module runs against a compositor that has not yet exposed v2, TreelandOutputWatcher and TreelandBrightness bind only the v2 manager, so a compositor that exposes only v1 leaves both extensions inactive. There is no v1 fallback, and primary-screen updates and OSD brightness stop working during a mixed-version rollout.

Coordinate deployment so the compositor exposes v2 before these consumers roll out, or retain a fallback for the old protocol during the transition.

Also at panels/notification/osd/brightness/treelandbrightness.cpp:46.

Prompt for AI agents
In `shell/treelandoutputwatcher.cpp` at line 18:

**Older compositor loses output support**

When the updated shell or brightness module runs against a compositor that has not yet exposed v2, `TreelandOutputWatcher` and `TreelandBrightness` bind only the v2 manager, so a compositor that exposes only v1 leaves both extensions inactive. There is no v1 fallback, and primary-screen updates and OSD brightness stop working during a mixed-version rollout.

Coordinate deployment so the compositor exposes v2 before these consumers roll out, or retain a fallback for the old protocol during the transition.

Also at `panels/notification/osd/brightness/treelandbrightness.cpp:46`.

Comment on lines +141 to +143
delete m_control;
m_control = nullptr;
m_currentUuid.clear();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Brightness stays stale after invalid output

When the compositor reports commit_result_invalid_output while the primary screen remains unchanged, the handler deletes m_control and clears m_currentUuid without emitting brightnessChanged or requesting a replacement control, so the provider loses brightness and the applet keeps displaying its cached value until another refresh trigger.

Emit the brightness update and retry acquiring the UUID and picture control after invalid output.

Prompt for AI agents
In `panels/notification/osd/brightness/treelandbrightness.cpp` at lines 141-143:

**Brightness stays stale after invalid output**

When the compositor reports `commit_result_invalid_output` while the primary screen remains unchanged, the handler deletes `m_control` and clears `m_currentUuid` without emitting `brightnessChanged` or requesting a replacement control, so the provider loses brightness and the applet keeps displaying its cached value until another refresh trigger.

Emit the brightness update and retry acquiring the UUID and picture control after invalid output.

Comment on lines +63 to +65
auto *raw = m_uuidManager->get_uuid(waylandScreen->output());
if (!raw)
return;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Failed requests remain unresolved

When a UUID or picture-control request fails, or the compositor does not deliver a UUID response, requestUuid, requestPrimaryUuid, and the brightness path abandon the request without scheduling another attempt, leaving the pending primary unresolved or the OSD showing stale brightness until an unrelated screen or activation event triggers another attempt.

Schedule a retry or timeout when a UUID or picture-control request fails or does not complete.

Also at panels/notification/osd/brightness/treelandbrightness.cpp:114-116, panels/notification/osd/brightness/treelandbrightness.cpp:132-134.

Prompt for AI agents
In `shell/treelandoutputwatcher.cpp` at lines 63-65:

**Failed requests remain unresolved**

When a UUID or picture-control request fails, or the compositor does not deliver a UUID response, `requestUuid`, `requestPrimaryUuid`, and the brightness path abandon the request without scheduling another attempt, leaving the pending primary unresolved or the OSD showing stale brightness until an unrelated screen or activation event triggers another attempt.

Schedule a retry or timeout when a UUID or picture-control request fails or does not complete.

Also at `panels/notification/osd/brightness/treelandbrightness.cpp:114-116`, `panels/notification/osd/brightness/treelandbrightness.cpp:132-134`.

@deepin-ci-robot

deepin-ci-robot commented Dec 2, 2026 •

Copy link
Copy Markdown

⚠️ OBS CI 构建警告日志 (Commit: a21fd469)

提示:以下为 OBS CI 构建中 Lintian 检测到的警告信息,默认折叠,点击展开查看详情。完整日志请参阅对应构建状态链接。

deepin_develop / aarch64 (Lintian 警告: 15 条)
[ 1789s] W: dde-shell: desktop-command-not-in-package bin/false [usr/share/applications/org.deepin.dde-shell.desktop]
[ 1789s] N: 
[ 1789s] N:   The desktop entry specifies a Command that does not match any of the
[ 1789s] N:   executables shipped in the package.
[ 1789s] N:   
[ 1789s] N:   This condition is often caused by a typo, or the desktop file was not
[ 1789s] N:   updated after the installed path of the executable was modified.
[ 1789s] N:   
[ 1789s] N:   Packages should ship executables that are used as commands in desktop
[ 1789s] N:   files.
[ 1789s] N: 
[ 1789s] N:   Visibility: warning
[ 1789s] N:   Show-Always: no
[ 1789s] N:   Check: menu-format
[ 1789s] N: 
[ 1789s] N:
[ 1789s] W: dde-shell: link-to-shared-library-in-wrong-package usr/lib/aarch64-linux-gnu/libds-notification-shared.so.6.2.1 [usr/lib/aarch64-linux-gnu/libds-notification-shared.so]
[ 1789s] N: 
[ 1789s] N:   Although this package is not a "-dev" package, it installs a
[ 1789s] N:   "libsomething.so" symbolic link referencing the corresponding shared
[ 1789s] N:   library. When the link doesn't include the version number, it is used by
[ 1789s] N:   the linker when other programs are built against this shared library.
[ 1789s] N:   
[ 1789s] N:   Shared libraries are supposed to place such symbolic links in their
[ 1789s] N:   respective "-dev" packages, so it is a bug to include it with the main
[ 1789s] N:   library package.
[ 1789s] N:   
[ 1789s] N:   However, if this is a small package which includes the runtime and the
[ 1789s] N:   development libraries, this is not a bug. In the latter case, please
[ 1789s] N:   override this warning.
[ 1789s] N: 
[ 1789s] N:   Please refer to Development files (Section 8.4) in the Debian Policy
[ 1789s] N:   Manual for details.
[ 1789s] N: 
[ 1789s] N:   Visibility: warning
[ 1789s] N:   Show-Always: no
[ 1789s] N:   Check: libraries/shared/links
[ 1789s] N:   Renamed from: non-dev-pkg-with-shlib-symlink
[ 1789s] N: 
[ 1789s] N:
[ 1789s] W: dde-shell: no-manual-page [usr/bin/dde-shell]
[ 1789s] N: 
[ 1789s] N:   Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should have
[ 1789s] N:   a manual page
[ 1789s] N:   
[ 1789s] N:   Note that though the man program has the capability to check for several
[ 1789s] N:   program names in the NAMES section, each of these programs should have its
[ 1789s] N:   own manual page (a symbolic link to the appropriate manual page is
[ 1789s] N:   sufficient) because other manual page viewers such as xman or tkman don't
[ 1789s] N:   support this.
[ 1789s] N:   
[ 1789s] N:   If the name of the manual page differs from the binary by case, man may be
[ 1789s] N:   able to find it anyway; however, it is still best practice to match the
[ 1789s] N:   exact capitalization of the executable in the manual page.
[ 1789s] N:   
[ 1789s] N:   If the manual pages are provided by another package on which this package
[ 1789s] N:   depends, Lintian may not be able to determine that manual pages are
[ 1789s] N:   available. In this case, after confirming that all binaries do have manual
[ 1789s] N:   pages after this package and its dependencies are installed, please add a
[ 1789s] N:   Lintian override.
[ 1789s] N: 
[ 1789s] N:   Please refer to Manual pages (Section 12.1) in the Debian Policy Manual
[ 1789s] N:   for details.
[ 1789s] N: 
[ 1789s] N:   Visibility: warning
[ 1789s] N:   Show-Always: no
[ 1789s] N:   Check: documentation/manual
[ 1789s] N:   Renamed from: binary-without-manpage
[ 1789s] N: 
[ 1789s] N:
[ 1789s] W: dde-shell source: no-nmu-in-changelog [debian/changelog:1]
[ 1789s] N: 
[ 1789s] N:   When you NMU a package, that fact should be mentioned on the first line in
[ 1789s] N:   the changelog entry. Use the words "NMU" or "Non-maintainer upload" (case
[ 1789s] N:   insensitive).
[ 1789s] N:   
[ 1789s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[ 1789s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[ 1789s] N:   identical to the maintainer or one of the uploaders. If this is a local
[ 1789s] N:   package (not intended for Debian), you can suppress this warning by
[ 1789s] N:   putting "local" in the version number or "local package" on the first line
[ 1789s] N:   of the changelog entry.
[ 1789s] N: 
[ 1789s] N:   Please refer to Using the DELAYED/ queue (Section 5.11.3) in the Debian
[ 1789s] N:   Developer's Reference for details.
[ 1789s] N: 
[ 1789s] N:   Visibility: warning
[ 1789s] N:   Show-Always: no
[ 1789s] N:   Check: nmu
[ 1789s] N:   Renamed from: changelog-should-mention-nmu
[ 1789s] N: 
[ 1789s] N:
[ 1789s] W: dde-shell: package-name-doesnt-match-sonames libds-notification-shared6
[ 1789s] N: 
[ 1789s] N:   The package name of a library package should usually reflect the soname of
[ 1789s] N:   the included library. The package name can determined from the library
[ 1789s] N:   file name with the following code snippet:
[ 1789s] N:   
[ 1789s] N:    $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | \
[ 1789s] N:        sed -r -e's/([0-9])\.so\./\1-/; s/\.so(\.|$)//; y/_/-/; s/(.*)/\L&/'
[ 1789s] N: 
[ 1789s] N:   Visibility: warning
[ 1789s] N:   Show-Always: no
[ 1789s] N:   Check: libraries/shared/soname
[ 1789s] N: 
[ 1789s] N:
[ 1789s] W: libdde-shell: package-name-doesnt-match-sonames libdde-shell1
[ 1789s] N:
[ 1789s] W: libdde-shell-dock: package-name-doesnt-match-sonames libdde-shell-dock1
[ 1789s] N:
[ 1789s] W: dde-shell source: source-nmu-has-incorrect-version-number 6.2.1+u001 [debian/changelog:1]
[ 1789s] N: 
[ 1789s] N:   A source NMU should have a Debian revision of "-x.x" (or "+nmuX" for a
[ 1789s] N:   native package). This is to prevent stealing version numbers from the
[ 1789s] N:   maintainer.
[ 1789s] N:   
[ 1789s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[ 1789s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[ 1789s] N:   identical to the maintainer or one of the uploaders. If this is a local
[ 1789s] N:   package (not intended for Debian), you can suppress this warning by
[ 1789s] N:   putting "local" in the version number or "local package" on the first line
[ 1789s] N:   of the changelog entry.
[ 1789s] N: 
[ 1789s] N:   Please refer to NMUs and debian/changelog (Section 5.11.2) in the Debian
[ 1789s] N:   Developer's Reference for details.
[ 1789s] N: 
[ 1789s] N:   Visibility: warning
[ 1789s] N:   Show-Always: no
[ 1789s] N:   Check: nmu
[ 1789s] N: 
[ 1789s] N:
[ 1789s] W: dde-shell: unknown-section DDE
[ 1789s] N: 
[ 1789s] N:   The "Section:" field in this package's control file is not one of the
[ 1789s] N:   sections in use on the ftp archive. Valid sections are currently admin,
[ 1789s] N:   comm, cli-mono, database, debug, devel, doc, editors, electronics,
[ 1789s] N:   embedded, fonts, games, gnome, gnu-r, gnustep, graphics, hamradio,
[ 1789s] N:   haskell, httpd, interpreters, java, javascript, kde, libdevel, libs, lisp,
[ 1789s] N:   localization, kernel, mail, math, misc, net, news, ocaml, oldlibs,
[ 1789s] N:   otherosfs, perl, php, python, ruby, rust, science, shells, sound, tex,
[ 1789s] N:   text, utils, vcs, video, web, x11, xfce, zope.
[ 1789s] N:   
[ 1789s] N:   The section name should be preceded by either "contrib/", "non-free/" or
[ 1789s] N:   "non-free-firmware/" if the package is in the according archive area.
[ 1789s] N: 
[ 1789s] N:   Please refer to Sections (Section 2.4) in the Debian Policy Manual for
[ 1789s] N:   details.
[ 1789s] N: 
[ 1789s] N:   Visibility: warning
[ 1789s] N:   Show-Always: no
[ 1789s] N:   Check: fields/section
[ 1789s] N: 
[ 1789s] N:
[ 1789s] W: dde-shell-example: unknown-section DDE
[ 1789s] N:
[ 1789s] W: libdde-shell: unknown-section DDE
[ 1789s] N:
[ 1789s] W: libdde-shell-dev: unknown-section DDE
[ 1789s] N:
[ 1789s] W: libdde-shell-dock: unknown-section DDE
[ 1789s] N:
[ 1789s] W: libdde-shell-dock-dev: unknown-section DDE
[ 1790s] Warning: mkbaselibs missing in build root, skipping baselibs
deepin_develop / x86_64 (Lintian 警告: 15 条)
[  633s] W: dde-shell: desktop-command-not-in-package bin/false [usr/share/applications/org.deepin.dde-shell.desktop]
[  633s] N: 
[  633s] N:   The desktop entry specifies a Command that does not match any of the
[  633s] N:   executables shipped in the package.
[  633s] N:   
[  633s] N:   This condition is often caused by a typo, or the desktop file was not
[  633s] N:   updated after the installed path of the executable was modified.
[  633s] N:   
[  633s] N:   Packages should ship executables that are used as commands in desktop
[  633s] N:   files.
[  633s] N: 
[  633s] N:   Visibility: warning
[  633s] N:   Show-Always: no
[  633s] N:   Check: menu-format
[  633s] N: 
[  633s] N:
[  633s] W: dde-shell: link-to-shared-library-in-wrong-package usr/lib/x86_64-linux-gnu/libds-notification-shared.so.6.2.1 [usr/lib/x86_64-linux-gnu/libds-notification-shared.so]
[  633s] N: 
[  633s] N:   Although this package is not a "-dev" package, it installs a
[  633s] N:   "libsomething.so" symbolic link referencing the corresponding shared
[  633s] N:   library. When the link doesn't include the version number, it is used by
[  633s] N:   the linker when other programs are built against this shared library.
[  633s] N:   
[  633s] N:   Shared libraries are supposed to place such symbolic links in their
[  633s] N:   respective "-dev" packages, so it is a bug to include it with the main
[  633s] N:   library package.
[  633s] N:   
[  633s] N:   However, if this is a small package which includes the runtime and the
[  633s] N:   development libraries, this is not a bug. In the latter case, please
[  633s] N:   override this warning.
[  633s] N: 
[  633s] N:   Please refer to Development files (Section 8.4) in the Debian Policy
[  633s] N:   Manual for details.
[  633s] N: 
[  633s] N:   Visibility: warning
[  633s] N:   Show-Always: no
[  633s] N:   Check: libraries/shared/links
[  633s] N:   Renamed from: non-dev-pkg-with-shlib-symlink
[  633s] N: 
[  633s] N:
[  633s] W: dde-shell: no-manual-page [usr/bin/dde-shell]
[  633s] N: 
[  633s] N:   Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should have
[  633s] N:   a manual page
[  633s] N:   
[  633s] N:   Note that though the man program has the capability to check for several
[  633s] N:   program names in the NAMES section, each of these programs should have its
[  633s] N:   own manual page (a symbolic link to the appropriate manual page is
[  633s] N:   sufficient) because other manual page viewers such as xman or tkman don't
[  633s] N:   support this.
[  633s] N:   
[  633s] N:   If the name of the manual page differs from the binary by case, man may be
[  633s] N:   able to find it anyway; however, it is still best practice to match the
[  633s] N:   exact capitalization of the executable in the manual page.
[  633s] N:   
[  633s] N:   If the manual pages are provided by another package on which this package
[  633s] N:   depends, Lintian may not be able to determine that manual pages are
[  633s] N:   available. In this case, after confirming that all binaries do have manual
[  633s] N:   pages after this package and its dependencies are installed, please add a
[  633s] N:   Lintian override.
[  633s] N: 
[  633s] N:   Please refer to Manual pages (Section 12.1) in the Debian Policy Manual
[  633s] N:   for details.
[  633s] N: 
[  633s] N:   Visibility: warning
[  633s] N:   Show-Always: no
[  633s] N:   Check: documentation/manual
[  633s] N:   Renamed from: binary-without-manpage
[  633s] N: 
[  633s] N:
[  633s] W: dde-shell source: no-nmu-in-changelog [debian/changelog:1]
[  633s] N: 
[  633s] N:   When you NMU a package, that fact should be mentioned on the first line in
[  633s] N:   the changelog entry. Use the words "NMU" or "Non-maintainer upload" (case
[  633s] N:   insensitive).
[  633s] N:   
[  633s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[  633s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[  633s] N:   identical to the maintainer or one of the uploaders. If this is a local
[  633s] N:   package (not intended for Debian), you can suppress this warning by
[  633s] N:   putting "local" in the version number or "local package" on the first line
[  633s] N:   of the changelog entry.
[  633s] N: 
[  633s] N:   Please refer to Using the DELAYED/ queue (Section 5.11.3) in the Debian
[  633s] N:   Developer's Reference for details.
[  633s] N: 
[  633s] N:   Visibility: warning
[  633s] N:   Show-Always: no
[  633s] N:   Check: nmu
[  633s] N:   Renamed from: changelog-should-mention-nmu
[  633s] N: 
[  633s] N:
[  633s] W: dde-shell: package-name-doesnt-match-sonames libds-notification-shared6
[  633s] N: 
[  633s] N:   The package name of a library package should usually reflect the soname of
[  633s] N:   the included library. The package name can determined from the library
[  633s] N:   file name with the following code snippet:
[  633s] N:   
[  633s] N:    $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | \
[  633s] N:        sed -r -e's/([0-9])\.so\./\1-/; s/\.so(\.|$)//; y/_/-/; s/(.*)/\L&/'
[  633s] N: 
[  633s] N:   Visibility: warning
[  633s] N:   Show-Always: no
[  633s] N:   Check: libraries/shared/soname
[  633s] N: 
[  633s] N:
[  633s] W: libdde-shell: package-name-doesnt-match-sonames libdde-shell1
[  633s] N:
[  633s] W: libdde-shell-dock: package-name-doesnt-match-sonames libdde-shell-dock1
[  633s] N:
[  633s] W: dde-shell source: source-nmu-has-incorrect-version-number 6.2.1+u001 [debian/changelog:1]
[  633s] N: 
[  633s] N:   A source NMU should have a Debian revision of "-x.x" (or "+nmuX" for a
[  633s] N:   native package). This is to prevent stealing version numbers from the
[  633s] N:   maintainer.
[  633s] N:   
[  633s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[  633s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[  633s] N:   identical to the maintainer or one of the uploaders. If this is a local
[  633s] N:   package (not intended for Debian), you can suppress this warning by
[  633s] N:   putting "local" in the version number or "local package" on the first line
[  633s] N:   of the changelog entry.
[  633s] N: 
[  633s] N:   Please refer to NMUs and debian/changelog (Section 5.11.2) in the Debian
[  633s] N:   Developer's Reference for details.
[  633s] N: 
[  633s] N:   Visibility: warning
[  633s] N:   Show-Always: no
[  633s] N:   Check: nmu
[  633s] N: 
[  633s] N:
[  633s] W: dde-shell: unknown-section DDE
[  633s] N: 
[  633s] N:   The "Section:" field in this package's control file is not one of the
[  633s] N:   sections in use on the ftp archive. Valid sections are currently admin,
[  633s] N:   comm, cli-mono, database, debug, devel, doc, editors, electronics,
[  633s] N:   embedded, fonts, games, gnome, gnu-r, gnustep, graphics, hamradio,
[  633s] N:   haskell, httpd, interpreters, java, javascript, kde, libdevel, libs, lisp,
[  633s] N:   localization, kernel, mail, math, misc, net, news, ocaml, oldlibs,
[  633s] N:   otherosfs, perl, php, python, ruby, rust, science, shells, sound, tex,
[  633s] N:   text, utils, vcs, video, web, x11, xfce, zope.
[  633s] N:   
[  633s] N:   The section name should be preceded by either "contrib/", "non-free/" or
[  633s] N:   "non-free-firmware/" if the package is in the according archive area.
[  633s] N: 
[  633s] N:   Please refer to Sections (Section 2.4) in the Debian Policy Manual for
[  633s] N:   details.
[  633s] N: 
[  633s] N:   Visibility: warning
[  633s] N:   Show-Always: no
[  633s] N:   Check: fields/section
[  633s] N: 
[  633s] N:
[  633s] W: dde-shell-example: unknown-section DDE
[  633s] N:
[  633s] W: libdde-shell: unknown-section DDE
[  633s] N:
[  633s] W: libdde-shell-dev: unknown-section DDE
[  633s] N:
[  633s] W: libdde-shell-dock: unknown-section DDE
[  633s] N:
[  633s] W: libdde-shell-dock-dev: unknown-section DDE
[  634s] Warning: mkbaselibs missing in build root, skipping baselibs

@18202781743
18202781743 merged commit 2ade8d2 into linuxdeepin:develop/2500u3 Dec 2, 2026
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants